/**
 * @format
 * @Author: TC
 * @Date: 2025-07-28 16:31:15
 * @Last Modified by: TC (tengchao@taqu.cn)
 * @Last Modified time: 2025-10-20 16:25:41
 */

import { EUILayer } from "../../../../../FrameWork/Const/ComponentConst";
import { IUIConfig } from "../../../../../FrameWork/Module/UI/UIInterface";
import { EMoleBundleConst } from "./MoleBundleConst";

/**
 * 界面配置
 */
export enum EMoleUIConst {
    //主界面
    MainUI = "MainUI",
    //准备界面
    PrepareUI = "PrepareUI",
    //战斗界面
    BattleUI = "BattleUI",
    //暂停界面
    PauseUI = "PauseUI",
    //退出界面
    ExitUI = "ExitUI",
    //结果界面
    ResultUI = "ResultUI",
    //商城界面
    ShopUI = "ShopUI",
}

/**
 * 窗口配置
 */
export const MoleUIConfig: { [key: string]: IUIConfig } = {
    //主界面
    [EMoleUIConst.MainUI]: {
        bundleName: EMoleBundleConst.Mole,
        prefabPath: "Prefab/Main/MoleMainUI",
        fullScreen: true,
        noOpenAni: true,
        layer: EUILayer.FULL_UI,
    },
    //准备界面
    [EMoleUIConst.PrepareUI]: {
        bundleName: EMoleBundleConst.Mole,
        prefabPath: "Prefab/Prepare/MolePrepareUI",
        noOpenAni: true,
        noBlankClose: true,
    },
    //战斗界面
    [EMoleUIConst.BattleUI]: {
        bundleName: EMoleBundleConst.Mole,
        prefabPath: "Prefab/Battle/MoleBattleUI",
        noOpenAni: true,
        noBlankClose: true,
    },
    //暂停界面
    [EMoleUIConst.PauseUI]: {
        bundleName: EMoleBundleConst.Mole,
        prefabPath: "Prefab/Pause/MolePauseUI",
        noOpenAni: true,
        noBlankClose: true,
    },
    //退出界面
    [EMoleUIConst.ExitUI]: {
        bundleName: EMoleBundleConst.Mole,
        prefabPath: "Prefab/Exit/MoleExitUI",
    },
    //结果界面
    [EMoleUIConst.ResultUI]: {
        bundleName: EMoleBundleConst.Mole,
        prefabPath: "Prefab/Result/MoleResultUI",
    },
    //商城界面
    [EMoleUIConst.ShopUI]: {
        bundleName: EMoleBundleConst.Mole,
        prefabPath: "Prefab/Shop/MoleShopUI",
        noBlankClose: true,
    },
};
